import request from "@/utils/request.js"

// 动火方案列表

export function Hotlist(data) {
  return request({
    url: `/api/v1/welder-sbtx-second/hot-program-comb/list`,
    method: 'post',
    data: data
  })
}
//动火方案详情
export function hotProgramCombDetail(data) {
  return request({
    url: `/api/v1/welder-sbtx-second/hot-program-comb/show/${data}`,
    method: 'post'
  })
}
/**
*
* 审批流程
*/
export function processConfirmList(data) {
  return request({
    url: `/api/v1/welder-sbtx-second/approval-process-comb/process-confirm-list`,
    method: 'post',
    data: data
  })
}
/**
 *
 * file upload  图片上传
 */

export function fileUpLoad(data) {
  return request({
    url: '/api/v1/welder-fms-second/upload/fileUpload',
    method: 'post',
    data: data
  })
}
/**
 * 动火方案确认
 */

export function processConfirm(data, id) {
  return request({
    url: `/api/v1/welder-sbtx-second/hot-program-comb/process-confirm/${id}`,
    method: 'post',
    data: data
  })
}
